Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more rotation vector types #449

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Add more rotation vector types #449

merged 2 commits into from
Nov 9, 2023

Conversation

Serafadam
Copy link
Collaborator

Overview

Author: @Serafadam

Issue

Issue link (if present): #446
Issue description: Currently we enable magnetometer sensor when enabling rotation vector, which lowers the output frequency. This PR changes it so that magnetometer readings are being output only when the IMU message type is set to contain the mag data. Additionally, rotation vector types are parameterized now.
Related PRs

Changes

ROS distro Humble:
List of changes:

  • Add rotation vector types
  • New template specialization in IMUConverter for converting three messages
  • Reorder of parameters in IMU conversion methods
  • New flag in IMU converter to enable magnetometer

Testing

Hardware used: OAK-D-PRO-W
Depthai library version: 2.20

Visuals from testing

Add screenshots/gifs/videos from RVIZ or other visualizers demonstrating the effect of the changes when applicable.

@Serafadam Serafadam merged commit 1a9b13c into humble Nov 9, 2023
6 checks passed
@Serafadam Serafadam deleted the separate_mag_humble branch November 9, 2023 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant